Ext.Loader.setConfig({
    enabled:true
});

Ext.override(Ext.data.AbstractStore, {
    indexOf:Ext.emptyFn
});

Ext.application({
    name:'EM',

    appFolder:'app',

    models:['Folder', 'Event'],

    views:['GanttPanel'],

    stores:['Folders', 'Events'],

    controllers:['Folders', 'Events'],

    autoCreateViewport:true

//    launch:function() {
//
//        var vp = Ext.create("Ext.Viewport", {
//            layout  : 'fit',
//            items: [
//                { xtype: 'timeline' }
//            ]
////            items   : [
//////                { xtype: 'timeline' }
////            ]
//        });
//    }
});
